Bentley WaterGEMS CONNECT Edition Help

Google Earth Export from ArcGIS

For the purpose of describing the export process these steps will assume that the model you wish to export has been defined (laid out) in terms of a well-known spatial reference (coordinate system). The model if opened in the WaterCAD CONNECT stand alone interface is in scaled drawing mode (Tools --> Options --> Drawing Tab --> Drawing Mode: Scaled).

Preparing to Export to Google Earth from ArcGIS

In order to describe how to export WaterCAD CONNECT data to Google Earth we will cover a set of questions to determine which steps need to be performed. Each question will result in either performing some steps or moving on to the next question. Each question is relating to your WaterCAD CONNECT model.

Q1: Do you already have a *.mxd (ArcMap map file)? If yes go to Q2, else follow steps 1 to 10:

  1. Open ArcMAP 9.3.
  2. Start with a new empty map.
  3. From the WaterCAD CONNECT toolbar, choose WaterCAD CONNECT --> Hydraulic Model --> Add Existing Hydraulic Model.
  4. Locate and select the model *.wtg and click Open.
  5. In the Attach Geodatabase dialog select the blue folder at top right and create a new Geodatabase with the name of your choice. e.g., if the model database is called "MyModel.wtg.sqlite" a geodatabase file called "MyModelGeo.sqlite" might be appropriate. Click Save.
  6. Select the appropriate spatial reference (projected coordinate system) by clicking the Change --> Select... (or Import... from an existing geodataset.
  7. Ensure that the X/Y Domain settings are valid for your model.
  8. Make sure the correct Spatial Data Coordinates Unit is selected, then click OK. For further assistance on setting spatial references and related settings please consult the ArcMap documentation.
  9. Once the model add process is complete save the map file (*.mxd).
  10. Go to Q3.

Q2 Do you have a spatial reference defined in the geodatabase? If yes go to Q3, else follow steps 1 to 9 below:

Note: For assistance on setting spatial references and related settings please consult the ArcMap documentation.
  1. To add a spatial reference to your model, close ArcMap if already open.
  2. Open ArcCatalog.
  3. Browse for the geodatabase of interest.
  4. Expand the dataset node (cylinder) to show the feature dataset (3 rectangles).
  5. Right-click on the feature dataset and choose Properties.
  6. Click the XY Coordinate System tab.
  7. Either Select... or Import... the appropriate projected coordinate system.
  8. Close ArcCatalog.
  9. Open ArcMap and re-open the *.mxd.

Q3: Have you set up your model as you wish it to be displayed in Google Earth? If yes go to the Exporting to a KML File from ArcGIS section below, else follow steps 1 to 8 below:

  1. Prior to exporting to Google Earth you should configure the layers that you wish to export. Many of the layer properties supported in ArcMap presentation can be used with Google Earth export. Please consult the ArcGIS documentation for detailed instructions on layer properties. Some basic examples are provided.
  2. Right click on a layer, for example the Pipes layer, and choose Properties.
  3. Select the Fields tab.
  4. Change the Primary Display Field to Label (If this field is not available, you need to make sure the WaterCAD CONNECT hydraulic model is open. See details below).
  5. Click on the HTML Popup tab.
  6. Check "Show content for this layer using the HTML Popup tool."
  7. Click "Verify" to see the fields. (These can be customized by editing your WaterCAD CONNECT GeoTables). This table will be viewable inside Google Earth after exporting.
  8. Repeat steps 1 through 6 above for each layer you wish to export.

Exporting to a KML File from ArcGIS

  1. In ArcMap, Window --> ArcToolbox.
  2. ArcToolbox --> Conversion Tools --> To KML --> Layer to KML.
  3. In the dialog that opens, select the layer you wish to export to Google Earth, e.g., Pipe.
  4. Specify the Google Earth file name, e.g., Pipe.kmz.
  5. Pick a layer output scale that makes sense for your layer. (See the ArcGIS help topic on the effect of this value). Assuming you have no zoom dependent scaling or are not exporting any symbology, a value of 1 should work fine.
  6. Click OK to commence the export. (This may take some time.)
  7. If you have Google Earth installed you may now open the exported *.kmz file and view it in Google Earth.
  8. Repeat steps 2 to 7 for each layer you wish to export.
Note: You can export all layers at once using the Map to KML tool.